# -*- coding: utf-8 -*-
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QTableWidgetItem


class MyQTableWidgetItem(QTableWidgetItem):

    def __init__(self, *__args):
        super().__init__(*__args)
        self.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)
        # self.setFlags(self.flags() | Qt.ItemIsEditable)
